Formal Language Constrained Path Problems

نویسندگان

  • Christopher L. Barrett
  • Riko Jacob
  • Madhav V. Marathe
چکیده

Given an alphabet , a (directed) graph G whose edges are weighted and -labeled, and a formal language L , we consider the problem of finding a shortest (simple) path p in G complying with the additional constraint that l(p) 2 L. Here l(p) denotes the unique word given by concatenating the -labels of the edges along the path p. The main contributions of this paper include the following: 1. We show that the problem of finding a shortest path between source and destination for a traveler whose mode choice is specified as a context free language is solvable efficiently in polynomial time. When the mode choice is specified as a regular language we provide algorithms with improved space and time bounds. 2. In contrast, we show that the problem of finding simple paths between a source and a given destination isNP-hard, even when restricted to fixed simple regular languages and very simple graphs (complete grids) 3. For the class of treewidth bounded graphs, we show that (i) the problem of finding a regular language constrained simple path between source and destination is solvable in polynomial time and (ii) the extension to finding context free language constrained simple paths isNP-complete. Our results extend the previous results in [MW95, SJB97, Ya90]. Several additional extensions and applications of our results in the context of transportation problems are presented. For instance, as a corollary of our results, we obtain a polynomial time algorithm for the BEST k-SIMILAR PATH problem studied in [SJB97]. The previous best algorithm was given by [SJB97] and takes exponential time in the worst case.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Implementations of routing algorithms for transportation networks

We discuss the generalization of the point-to-point (and single-source) shortest path problem to instances where the shortest path must satisfy a formal language constraint. We describe theoretical and experimental results on a generalization of Dijkstra’s algorithm to finding regular-language-constrained shortest paths. This algorithm forms a model for single-source shortest paths and point-to...

متن کامل

Label Constrained Shortest Path Algorithms: An Experimental Evaluation using Transportation Networks

We consider a generalization of the point-to-point (and single-source) shortest path problem to instances where the shortest path must satisfy a formal language constraint. Given an alphabet Σ, a (directed) network G whose edges are weighted and Σ-labeled, and a regular grammar L ⊆ Σ, the Regular Language Constrained Shortest Path problem consists of finding a shortest path p in G complying wit...

متن کامل

Formal Language Constrained Reachability and Model Checking Propositional Dynamic Logics

We show interreducibility under (Turing) reductions of low polynomial degree between three families of problems parametrised by classes of formal languages: the problem of reachability in a directed graph constrained by a formal language, the problem of deciding whether or not the intersection of a language of some class with a regular language is empty, and the model checking problem for Propo...

متن کامل

Modeling Mobile Intention Recognition Problems with Spatially Constrained Tree-Adjoining Grammars

The problem of inferring an agent’s intentions from her spatio-temporal behavior is called mobile intention recognition problem. Using formal grammars we can state these problems as parsing problems. We argue that context-free formalisms are not sufficient for important use cases. We introduce Spatially Constrained Tree-Adjoining Grammars which enrich TAGs with knowledge about the structure of ...

متن کامل

Formal Treatment of a Family of Fixed-Point Problems on Graphs by CafeOBJ

A family of well known problems on graphs including the shortest path problem and the data flow analysis problem can be uniformly formulated as a fixed-point problem on graphs. We specify this problem and its solution algorithm in a highly abstract manner, fully exploiting the parameterized module construct of CafeOBJ, an algebraic specification language. The objective of our research is to exp...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998